package com.acmen.easyapi.dto;

import java.util.List;

/**
 * @Author acmen
 * @Date 2022/10/26 9:15
 */
public class PressureTestCmd extends BaseDTO{
    /**
     * 测试ID
     */
    private String testId;

    private List<String> apiIds;

    /**
     * 基础路径
     */
    private String basePath;
    /**
     * 模式
     */
    private String mode;
    /**
     * 并发量
     */
    private int concurrency;
    /**
     * 次数
     */
    private int number;

    private String env;

    public String getTestId() {
        return testId;
    }

    public PressureTestCmd setTestId(String testId) {
        this.testId = testId;
        return this;
    }

    public String getBasePath() {
        return basePath;
    }

    public PressureTestCmd setBasePath(String basePath) {
        this.basePath = basePath;
        return this;
    }

    public String getMode() {
        return mode;
    }

    public PressureTestCmd setMode(String mode) {
        this.mode = mode;
        return this;
    }

    public int getConcurrency() {
        return concurrency;
    }

    public PressureTestCmd setConcurrency(int concurrency) {
        this.concurrency = concurrency;
        return this;
    }

    public int getNumber() {
        return number;
    }

    public PressureTestCmd setNumber(int number) {
        this.number = number;
        return this;
    }

    public String getEnv() {
        return env;
    }

    public PressureTestCmd setEnv(String env) {
        this.env = env;
        return this;
    }

    public List<String> getApiIds() {
        return apiIds;
    }

    public PressureTestCmd setApiIds(List<String> apiIds) {
        this.apiIds = apiIds;
        return this;
    }
}


